package org.aeon.gamechatnest.common.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author: MissingAeon
 * @date: 2024/3/29 8:54
 * @description: 响应对象
 */

@Data
@Schema(name = "CommonResult", description = "通用返回对象")
public class Result {
    @Schema(name = "code", description = "状态码")
    private Integer code;

    @Schema(name = "message", description = "提示信息")
    private String message;

    @Schema(name = "data", description = "数据封装")
    private Object data;

    @Schema(name = "timestamp", description = "响应时间")
    private Long timestamp;
}
